
#ifndef IIC_H
#define IIC_H

#include<ioCC2530.h>

void iic_init(void);
void iic_start(void);
void iic_stop(void);

void delay_us(unsigned int us);
void delay_ms(unsigned int ms);

void iic_ack(char ack);
char iic_write_byte(unsigned char data);
unsigned char iic_read_byte(char ack);

#endif